</div>
<script>$('.wb-container').eq(0).remove();</script>
{php $route = array('platform.manage.bonus','platform.manage.setting','platform.manage.store');}
<div class="wb-subnav">
    <div style="width: 100%;height: 100%;overflow-y: auto">
        <div class="subnav-scene">
            平台管理
        </div>
        {ifp 'platform.manage.bonus'}
        <div class='menu-header'><i class="menu-icon fa {if in_array($_W['routes'], $route)}fa-caret-down{else}fa-caret-right{/if}"></i>设置管理</div>
        <ul {if in_array($_W['routes'], $route)}style="display: block;"{/if}>
            {ifp 'platform.manage.set'}<li {if $_W['routes']=='platform.manage.setting'} class="active" {/if}><a href="{php echo webUrl('platform/manage/setting', array('id'=>$_GPC['id']))}">基本设置</a></li>{/if}
            {ifp 'platform.manage.bonus'}<li {if $_W['routes']=='platform.manage.bonus'} class="active" {/if}><a href="{php echo webUrl('platform/manage/bonus', array('id'=>$_GPC['id']))}">分红设置</a></li>{/if}
            {ifp 'platform.manage.store'}<li {if $_W['routes']=='platform.manage.store'} class="active" {/if}><a href="{php echo webUrl('platform/manage/store', array('id'=>$_GPC['id']))}">企业设置</a></li>{/if}
        </ul>
        {/if}
        <div class="wb-subnav-fold icow"></div>
    </div>
</div>

<div class="wb-container {if !empty($system['foldpanel'])}right-panel{/if}">